local Main = {}
local AddOnName, AddOnTable = ...

function Main.onEvent(self,event,addon)
	if addon == AddOnName then
		utFooDB = utFooDB or {}
		core = Core:new()
		Main.Frame:UnregisterEvent("ADDON_LOADED")
	end
end

Main.Frame = CreateFrame("Frame")
Main.Frame:SetScript("OnEvent",Main.onEvent)
Main.Frame:RegisterEvent("ADDON_LOADED")